package com.wn.cleandemo.junk.bean;


import com.wn.cleandemo.junk.JunkType;

import java.util.ArrayList;
import java.util.List;

public class JunkGroup {
    public long size;
    public long sizeSelect;
    public List<? extends BaseJunk> junkList = new ArrayList<>();
    public @JunkType.Type
    int junkType;

    private boolean isCheckedDel = true;

    public JunkGroup(long size, List<? extends BaseJunk> junkList, @JunkType.Type int junkType) {
        this.size = size;
        this.junkList = null == junkList ? new ArrayList<>() : junkList;
        this.junkType = junkType;
    }

    public boolean isCheckedDel() {
        return isCheckedDel;
    }

    public void setCheckedDel(boolean checkedDel) {
        isCheckedDel = checkedDel;
    }
}
